<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Show The Member</title>
<%@ page import="Beans.Member" %>
</head>
<body>
<table border="1">
		<tr>
			<th>Member ID</th>
			<th>First Name</th>
			<th>Last Name</th>
			<th>Email</th>
			<th>Street Address</th>
			<th>City</th>
			<th>State</th>
			<th>Zip Code</th>
			<th>Movies</th>
		</tr>
		<%
			Member member = (Member) request.getAttribute("member");
			if(member != null) {
		%>
		<tr>
			<td><%= member.getMemNum() %></td>
			<td><%= member.getFirst() %></td>
			<td><%= member.getLast() %></td> 
			<td><%= member.getEmail() %></td> 
			<td><%= member.getAddress() %></td>
			<td><%= member.getCity() %></td>
			<td><%= member.getState() %></td>
			<td><%= member.getZip() %></td>
			<td><%= member.getOutstandingMovies() %><td>
		</tr>
		</table>
		<% }%>
		

</body>
</html>